package com.camel.core.entity;

import lombok.Data;

/**
 * @author camel
 */
@Data
public class IFilter {

    /**
     * 属性
     **/
    private String fieldName;

    /**
     * 比较符
     **/
    private String compare;

    /**
     * 比较值
     **/
    private Object fieldValue;

    /**
     * 字段名称
     **/
    private String columnName;

    private String tableName;

    public IFilter() {
    }

    public IFilter(String fieldName, String compare, Object fieldValue) {
        this.fieldName = fieldName;
        this.compare = compare;
        this.fieldValue = fieldValue;
    }

    public IFilter(String fieldName, String compare, String fieldValue) {
        this.fieldName = fieldName;
        this.compare = compare;
        this.fieldValue = fieldValue;
    }
}
